Pit-stop

So ... something's ... still left bugging me. Somehow. Waaargh ...

Wrongs! I don't know.
Anyway ... uhm ... before I get back into Linux, I want to make sure it's what I want to do.
What I would want, given either set of circumstances - would depend on what options I think I have. Now, what option I've relied on a few times is ... something I've learned while walking home high and wondering about a way from God to ask about the truth of a thing. I'd recommend you do the same, maybe - and I wonder if we arrive at the same or similar things.

Anyhow - in the focus of my understanding is something I've named "the Segulo". A manifestation that resonates with the core of the question or something. It's complicated. And ... yea, so is the whole thing. But yea, apparently we want to use Linux.


So, what I find is yet that I don't want to go in blindly. I don't want to repeat mistakes from before - but still not lock into a too narrow mindset.

And ... what would I share about here?


Well. This whole topic is I guess ... still some kind of a sorespot. For me - certainly. So, so far I've come to restart my project twice, and - yea, moving over to linux means once again that I'm not going to have access to Windows while developing certain ... things. I mean - I used to always have it, that I had a windows installation parallel to my linux install. And having the code easily portable between the two was always something I cared about. But it never really ... worked out the way I wanted. But I also had a lot of other issues to deal with.

But it irks me. I've come to just wholesale disassociate from ... that entire mindset. "The Linux Jungle". But sure, on and off I missed the one or the other feature I know I'd have on Linux.

Well. The biggest problem for me may have been that one part of the big idea involves ... well ... filesystem management. And - juggling with partitions is not like ... a thing one easily does. And I wondered if I really needed to do so anyway.

Now, one is sure. For me and the system for how I want it. But when I think of it - I get to realize that the basic idea is way too simple. And so I'm not sure what to add, how to add it ... and so I ended up with a setup for a while - during a re-install changed my mind - and in the process the whole backing up and maintaining a clear collection was, uhm ... well ... not done properly.


And I'm frustrated.
I feel like I have to give you something, but I'm not sure what. So, well - maybe I should treat this as a game. One of the rules would be, that the past can change. So - as we go I won't be as much bothered to keep the record straight but to keep it on point.

If anyone wants to dig in - well, if this is anything to be dug into - there's going to be a lot of ... reshufflings of the least convenient things to reshuffle - probably.


So, first up - I want to once again Nuke my storage - maintaining nothing. Is this smart? I have ... one partition of 250 gigs which contains windows. Other than that I have three more partitions - and the big issue with partitions is that they're ... of fixed size. So, with all thrown into folders in one drive, one doesn't have to worry about which thing takes up how much space - it'll just fill up. With partitions - one partition would get full first - and then it's like ... OK, can the empty space in the other partitions be sacrificed or not?

So, one should think about that beforehand - so, depending on use and utility.


And here I think what should be important for the end-user is, that ... as things currently are, it is very easy to access any unprotected files on your computer invisibly. So I would think that an install-gate could check code that is to be installed for references to certain functions that are identified as critical - where we want to have guidelines for what should be allowed and what not - and how to deal with the various cases. So that the end-user doesn't have to deal with all that however, there is the inevitable "public space". The core idea, operationally, is this:

The user exists as an access key in the system, which first and foremost is only one big public space. So, whatever. Like in windows - computer=system, windows explorer=public space.

Apart from that the user would want to maintain private space. And if a users private space is automatically regarded as private to the user, and the public space is automatically regarded as shared space, and system structure is automatically regarded protected - there's at this point no use for access tags. So, I'm trying to develop my own structure - and to that end I'd want empty partitions to work with.


Two important ones are: The "Zero Partition" which would take up the boot and system stuffs. Kind of like a dedicated boot partition. And some general purpose partition for testing and possibly dedicated use. I'd set apart a good 24 gigs ... just to be on the safe side. Say, four for the system and 20 for whatever. They'd usually just sit there and collect dust. But - I'm getting ideas.



So - for everyone, please - welcome to Crystals OS, the project, part 1: Getting Started.
Or whatever. It's an experiment in progress - and this time around I'll try to lead you through it as I try to develop my vision. Practically in front of you.

To that end I'll be sharing snippets of code - discussing each piece as we move along. We can then eventually build little programs and play around with them. To this end, some might also take this as an opportunity to learn some coding; As to get into Linux. I'll focus on Arch Linux. I like it's design. It's easy to get a clean environment without clutter and only the things you want. Or we want. After that, well. I never really got around to dig in and Linux is certainly far more complicated than "getting along with Arch" requires. So, if you're feeling really uncertain about it and you still want to code along, try to get a simple c++ hello world program to run on > mingw. Challenge.

So, right now I'm still on windows. So, what's going on? Where to start?

How to reveal enough, but not too much?
How to finally come to the point instead of always dredging around?




After installing mingw you want to familiarize yourself with it first. I guess - sure. So, you'll need to figure out how to make it start in a folder of your choice. We'll call it 'Source'. In the [package] (hmm, I guess ... 7-zip it is) you'll find the basics towards a simple Hello World program that's also the setup I use to compile my projects.

The only project related file is a trimmed down header file - removing most of what pertains to the project itself and things that haven't really found much use. I've also renamed a few things and suppose that this also forces me to go through all of my stuff as I round up a package.

Well. So, what we got is one folder for the system and one for projects. The logic here is this: If we want to go full OS, or other reasons, we'll also use other languages and possibly will also need slightly adjusted ... "things" ... here and there.
In the system folder there are again two. General is meant to be a 'universal access' root, while System is meant as 'system access' root. The specifics are setup in syscompile.bat. This file entails some definitions that are passed onto the compiler as the crystals.h include will show. incMAIN and incCORE should remain as is unless you plan on changing anything. Also, adjust minGWsource if necessary or install mingw accordingly. If you're getting SDL related bullshit when trying to compile, try "installing SDL" (I use SDL2 currently) to there. I'm not sure if it comes on board. However, the thing to understand is that the compiler will look for certain library files to resolve various references. Those go here. Also the includes. It should ... . xcompile.bat is used to simplify its usage. "B:/" will have to be replaced by 'target path of your choice'. It then executes as 'xcompile ljack'.


There's a bit of an intentional culture shock here - which, I won't apologize for. You'll have to deal with it. I may try to give explanations but don't expect them. So, yea. The core idea is a somewhat architecture independent language, where 'dega' is the term chosen for 'base unit' - comparable to a 'byte' which is 8 bytes in specific.

It may be futile, given that once volume matters things get fuzzy and a universal slang might be problematic, but ... uhm ... it's there.

Also: Tab-width is set to FIVE! Get used to it!


So, let the chaos begin!
Muahuahuahua!
But seriously ... uhm. OK. So, with this set and done ... where to from here?




So - before I move on ... a brief pause to recenter and focus.

Uhm. I'm a bit nervous? Not feeling confident?
Hmm ... . Confused? Put off? Feeling out of my depth?
Are we doing this?

OK. So ... .

I mean, how can I help? This isn't that! This ... is more chaos. OK, I need to ... not freak out?

So, what else?
Being like a child. So, don't judge me - I'll just act like this is ... playing make-belief.

So, to not get lost, what I'll need are backups and I should make sure that I create order while doing so instead of adding another layer of chaos. Towards that end, what's the proposed most ideal structure for that type of stuff? The issue with partitions is, that in my head they give me this feeling of empty space that I can fill - but when my head has filled it, it feels somewhat claustrophobic. So, it's best to move away from that. I suppose.

In a Linux environment then, we can then use one big chunky partition for ... all we need or could have or want ... which would contain various folders - that then can be symlinked into more general access spaces. Would it make sense to still set something apart?

If, it would be to draw a line between more and less secure dataspace - and I feel like ... in that sense the focus should be to keep the 'insecure' scrap-space narrow. So, ... recap: 24 gigs to boot, 4 gigs for Linux (?), then one scrap partition, one extra for good measure and the big chunky rest.


So, we're in the idea floating next to this big chunky rest ... and what it's all about, well. Some have pictures, some have documents, I have a whole bunch of everything. And - towards the end of this, I kind of ... want to have it all sorted out. And part of it comes down to clustering, I suppose. And - one problem would seem to be, well, shared access. It's yea. I mean - while working with Linux back in the day I always ran into problems with the filesystem's restrictiveness and fiddlyness when it comes to that. Well, skill issue perhaps.
But sure. I want to setup one public and one private account - and make sure that both work.

But. So. Clustering. It is in the idea. If I think of 'work' and I have my folder for that - and then I'm at 'home' and I have my folder for that - I get into trouble with anything in between. Let it be home-office or whatever.
Like, I try to be clean and setup a dedicated folder for projects. Then I try to do some work, spreadsheets and stuff and need some place to put it. So, on some occasions that led me to something more general than the project itself, so, where does it go? A Desk? I have so many ... document folders, desks, project spaces ... dicing them back together, trying to get things sorted - so and so many duplicates. It makes sense to once again just start simple: Projects.

So, that would be ... for me. At first. So, in my little ... let's picture us sitting on a cloud ... user space ... I would want that - so, in /Chunky/USR/self/ ... or so ... OK. Space. No weird boundaries, just ... cool. So, for brevity - that USR would be accessible as /home/self/VOLUME. Or so.
Along with that I want to maintain cool, easy and simple backuping of stuff. So - on my backup device I should prepare a storage form that would simply try to mirror that system. Between safety backups (copy) and long term storage (move) - the only problem is usually a shift in organization. So, the same thing then has different names and simply copying in would mean that is present twice. And yea, maybe that was an advantage in the olden days. Physical backups were much ... more common, thus presenting that extra layer that's now just lost in the ... sauce.

So it was one idea to find a way to make external and internal storage work together. So far it would seem that it remains an individual effort one has to undertake. So, ... let's? Ignore???
Well.

Yes, sure. That's - something extra. But uhm. Since I'm working on a backup I then want to be able to deploy - that's kind of, the start here. So - let's say ... I have my storage space in form of some folder on a drive. So, [VOL.MIRROR] is now a folder - to mean, VOL is a key-term in filesystem id-space refering to the 'official' volume of a device. Mirror is to say that this is supposed to reflect my current/targetted work environment. So, what I throw in here I later want to also take out. An obvious counterpart would be [VOL.STORE] - which is where my trouble continues. Unless I can mirror the storage within my work environment.


.../// Seed, well, obviously. We can here also use it as some concept space. So, this distinction is to also say that essentially we want to hide much of the strcture - which so would make it look weird in other operating systems - while using an external filesystem for storage. Anyway. So - the thing is ... I would now need some more information about what's being seeded here. Are we having multiple users? Etc. So, I want a profile of sort - which would be, say, well. I suppose this is where clustering also comes in.

I mean - one way this can go is that the 'profile' is basically along with its time step an individually logged entry. Duplicates basically implied. But I don't shit Hard-drives.